package stud.mpgame.network.example;

import stud.mpgame.network.MessageDescription;

/**
 * @author f.pavel91@gmail.com
 * @version 1.0
 */
public class SampleMessageDescription extends MessageDescription {
    private static final int ID = -4; //negative value for special tasks

    public int getID() {
        return ID;
    }

    private static SampleMessageDescription instance = null;

    private SampleMessageDescription() {
        this.autoResponseFlag = false;
    }

    public static SampleMessageDescription getInstance() {
        if(instance == null) {
            instance = new SampleMessageDescription();
        }
        return instance;
    }
}
